package han;

import java.util.Scanner;

public class J12Circle {

	public static void main(String[] args) {
		Scanner  sc = new Scanner(System.in);
		clCircle ex1 = new clCircle();
		 System.out.println("반지름을 입력해주세요");
		 ex1.Radius = sc.nextDouble();
		
		 System.out.println(ex1.getArea());
		 System.out.println(ex1.getPerimeter());
		 sc.close();
	}

}
	class clCircle{
		double Radius;
		final double PI = 3.14;
		double getArea;
		double getPerimeter;
		public double getArea(){
			return getArea = Radius * Radius * PI;
		}
		public double getPerimeter(){
			return getPerimeter = Radius * 2 * PI;
		}
	
	}